﻿<%@ Page Language="C#" MasterPageFile="~/Template.master" AutoEventWireup="true" CodeFile="TinTuc.aspx.cs" Inherits="TinTuc" Title="Tin Tức" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    .style1
    {
        width: 101%;
    }
    .style2
    {
        width: 160px;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table align="center" class="style1">
    <tr>
        <td align="left">
            <br />
            <asp:DataList ID="DataList1" runat="server" GridLines="Horizontal" 
                Width="536px" BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" 
                BorderWidth="1px" CellPadding="3" onitemcommand="DataList1_ItemCommand">
                <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                <AlternatingItemStyle BackColor="#F7F7F7" />
                <ItemStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
                <SelectedItemStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
                <ItemTemplate>
                    <table class="style1">
                        <tr>
                            <td colspan="2">
                                <asp:LinkButton ID="LinkButton5" runat="server" 
                                    CommandArgument='<%# Eval("matt") %>' Font-Overline="False" Font-Size="18pt" 
                                    ForeColor="DimGray" Text='<%# Eval("tentt") %>'></asp:LinkButton>
                            </td>
                        </tr>
                        <tr>
                            <td class="style2" style="font-style: italic">
                                Loại tin:
                                <asp:Label ID="Label2" runat="server" Text='<%# Eval("tenloai") %>'></asp:Label>
                            </td>
                            <td align="right">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td class="style2" style="font-style: italic">
                                Ngày đăng :<asp:Label ID="Label1" runat="server" Font-Italic="True" 
                                    Text='<%# Eval("ngaydang") %>'></asp:Label>
                            </td>
                            <td align="right">
                                <asp:LinkButton ID="LinkButton6" runat="server" 
                                    CommandArgument='<%# Eval("matt") %>' Font-Overline="False" Font-Size="9pt">Xem 
                                tiếp&gt;&gt;</asp:LinkButton>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:DataList>
        </td>
    </tr>
</table>
</asp:Content>

